import request from '@/utils/request'

// 获取文件列表
export function listPath(filePath) {
    return request({
        url: '/business/first/list',
        method: 'get',
        params: {"filePath": filePath}
    })
}
// 获取配置文件列表
export function getFirstConfig() {
    return request({
        url: '/business/first/getFirstConfig',
        method: 'get',
        params: {}
    })
}
// 增加文件夹配置
export function addFirstConfig(fileDirName) {
    return request({
        url: '/business/first/addFirstConfig',
        method: 'get',
        params: {"fileDirName":fileDirName}
    })
}
// 增加文件夹配置
export function deleteFirstConfig(menuId) {
    return request({
        url: '/business/first/deleteFirstConfig',
        method: 'get',
        params: {"menuId":menuId}
    })
}
